Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Script for docker deploy commands #904

Draft
wants to merge 1 commit into
base: feature/distributed-demo
Choose a base branch
from

Conversation

aryanpingle
Copy link

Adds a Makefile with recipes like start-http, stop-https to simplify the process of running docker compose commands on a DTaaS server.

This is just a convenience file for running commonly used commands, and only works on Linux/MacOS. Needs to be a cross-platform solution like a Python script inside venv.

Copy link

codeclimate bot commented Sep 11, 2024

Code Climate has analyzed commit 1ae69ef and detected 0 issues on this pull request.

View more on Code Climate.

Copy link
Contributor

@prasadtalasila prasadtalasila left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@aryanpingle Thanks for the PR. Please make the following changes.

  1. Move the Makefile to script/
  2. Please check best practices for loading environment variables into make files. If there is no specific recommendation, let the Makefile load environment variables from a separate file: script/.env. If the file does not exist, make can create them from relative paths like you did here.
  3. Update env.sh and env.ps1 to install make toolchain.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

Successfully merging this pull request may close these issues.

2 participants